<?php 
$criteria=new CDbCriteria;
$criteria->select="module,callback";
$criteria->distinct=true;

$blocks = $model->findAll($criteria);
//print_r($blocks);
$this->widget('CBlockList',array('themeObj'=>$theme));
//print_r($theme);

?>